﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class Cj_Zj:NFinal.Struct
    {
		public System.Int32? id {get;set;}
		public System.Int32? activity_id {get;set;}
		public System.String openID {get;set;}
		public System.Int32? prize_id {get;set;}
		public System.DateTime? zj_time {get;set;}
		public System.Int32? status {get;set;}
		public System.String memoa {get;set;}
		public System.String memob {get;set;}
		public System.String memoc {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"id\":");
					tw.Write(id==null?"null" : id.ToString());
					tw.Write(",");
					tw.Write("\"activity_id\":");
					tw.Write(activity_id==null?"null" : activity_id.ToString());
					tw.Write(",");
					tw.Write("\"openID\":");
					tw.Write("\"");
					tw.Write(openID==null?"null":openID);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"prize_id\":");
					tw.Write(prize_id==null?"null" : prize_id.ToString());
					tw.Write(",");
					tw.Write("\"zj_time\":");
					tw.Write("\"");
					tw.Write(zj_time==null?"null":zj_time.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"status\":");
					tw.Write(status==null?"null" : status.ToString());
					tw.Write(",");
					tw.Write("\"memoa\":");
					tw.Write("\"");
					tw.Write(memoa==null?"null":memoa);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memob\":");
					tw.Write("\"");
					tw.Write(memob==null?"null":memob);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memoc\":");
					tw.Write("\"");
					tw.Write(memoc==null?"null":memoc);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
